<template>
	<view class="contact">
		<image src="../../static/aboutus.jpg" class="img"></image>
		<view class="info">
			<view @click="concatMe">联系电话：15829463864（点击拨打）</view>
		</view>
		<view class="info">
			<view>联系地址：陕西省西安市雁塔区丁家桥社区25号楼1单元2503室</view>
		</view>

		<map class="map" :longitude="longitude" :latitude="latitude" :markers="markers">

		</map>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				"longitude": 108.875372,
				"latitude": 34.232231,
				"markers": [{
						"longitude": 108.875372,
						"latitude": 34.232231,
						iconPath: "../../static/home.jpg",
						height: 30,
						width: 30
					},
					{
						"longitude": 108.875372,
						"latitude": 34.232231,
						iconPath: "../../static/home.jpg",
						height: 30,
						width: 30
					},
				]
			}
		},
		methods: {
			concatMe() {
				uni.makePhoneCall({
					phoneNumber: "15829463864"
				})
			}
		},
	}
</script>

<style lang="scss" scoped>
	.contact {
		.img {
			width: 750rpx;
			height: 320rpx;
		}

		.info {
			padding: 10rpx 20rpx;
			line-height: 50rpx;
			border-bottom: 3rpx solid #eee;
		}

		.map {
			width: 750rpx;
			height: 750rpx;
		}
	}
</style>
